package cn.zebra.dev.sms.huaxin.service;

import cn.zebra.dev.sms.huaxin.entity.MessageEntity;

/**
 * @author runnable@sina.cn
 */
public interface SysSmsService {
    /**
     * 失败
     */
    String FAILD = "Faild";
    /**
     * 返回信息
     */
    String MESSAGE = "message";
    /**
     * 返回状态
     */
    String RETURN_STATUS = "returnstatus";
    /**
     * taskID
     */
    String TASK_ID = "taskID";
    /**
     * 成功条数
     */
    String SUCCESS_COUNTS = "successCounts";
    /**
     * 剩余条数
     */
    String REMAIN_POINT = "remainpoint";

    /**
     * 发送单条短信
     *  @param mobile  手机号
     * @param content 短信内容
     * @return
     */
    MessageEntity sendSingleMessage(String mobile, String content) throws Exception;

}
